/// @class : service_detail
/// @date : 2023-02-26 17:18
/// @name : LFC
/// @description :
class ServiceDetailModel {
  String? msg;
  num? code;
  Data? data;

  ServiceDetailModel({this.msg, this.code, this.data});

  ServiceDetailModel.fromJson(Map<String, dynamic> json) {
    msg = json['msg'];
    code = json['code'];
    data = json['data'] != null ? new Data.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['msg'] = this.msg;
    data['code'] = this.code;
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    return data;
  }
}

class Data {
  dynamic searchValue;
  String? createBy;
  String? createTime;
  String? updateBy;
  String? updateTime;
  String? remark;
  Params? params;
  num? serviceId;
  String? serviceName;
  String? serviceImg;
  String? thumbnailImg;
  String? lowerImg;
  String? sceColor;
  num? serviceSort;
  String? status;
  num? serviceEvaluation;
  num? comUserNum;
  String? delFlag;
  num? version;
  String? titleColor;
  int? disinfestationServiceId;

  Data(
      {this.searchValue,
      this.createBy,
      this.createTime,
      this.updateBy,
      this.updateTime,
      this.remark,
      this.params,
      this.serviceId,
      this.serviceName,
      this.serviceImg,
      this.thumbnailImg,
      this.lowerImg,
      this.sceColor,
      this.serviceSort,
      this.status,
      this.serviceEvaluation,
      this.comUserNum,
      this.delFlag,
      this.version,
      this.titleColor,this.disinfestationServiceId});

  Data.fromJson(Map<String, dynamic> json) {
    searchValue = json['searchValue'];
    createBy = json['createBy'];
    createTime = json['createTime'];
    updateBy = json['updateBy'];
    updateTime = json['updateTime'];
    remark = json['remark'];
    params =
        json['params'] != null ? new Params.fromJson(json['params']) : null;
    serviceId = json['serviceId'];
    serviceName = json['serviceName'];
    serviceImg = json['serviceImg'];
    thumbnailImg = json['thumbnailImg'];
    lowerImg = json['lowerImg'];
    sceColor = json['sceColor'];
    serviceSort = json['serviceSort'];
    status = json['status'];
    serviceEvaluation = json['serviceEvaluation'];
    comUserNum = json['comUserNum'];
    delFlag = json['delFlag'];
    version = json['version'];
    titleColor = json['titleColor'];
    disinfestationServiceId = json['disinfestationServiceId'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['searchValue'] = this.searchValue;
    data['createBy'] = this.createBy;
    data['createTime'] = this.createTime;
    data['updateBy'] = this.updateBy;
    data['updateTime'] = this.updateTime;
    data['remark'] = this.remark;
    if (this.params != null) {
      data['params'] = this.params!.toJson();
    }
    data['serviceId'] = this.serviceId;
    data['serviceName'] = this.serviceName;
    data['serviceImg'] = this.serviceImg;
    data['thumbnailImg'] = this.thumbnailImg;
    data['lowerImg'] = this.lowerImg;
    data['sceColor'] = this.sceColor;
    data['serviceSort'] = this.serviceSort;
    data['status'] = this.status;
    data['serviceEvaluation'] = this.serviceEvaluation;
    data['comUserNum'] = this.comUserNum;
    data['delFlag'] = this.delFlag;
    data['version'] = this.version;
    data['titleColor'] = this.titleColor;
    data['disinfestationServiceId'] = this.disinfestationServiceId;
    return data;
  }
}

class Params {
  Params();

  Params.fromJson(Map<String, dynamic> json) {}

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    return data;
  }
}
